Optimal. Leaf size=44 \[ -\frac {a (e \cos (c+d x))^{2-2 m} (a+a \sin (c+d x))^{-1+m}}{d e (1-m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.037, Rules used = {2752}
\begin {gather*} -\frac {a (a \sin (c+d x)+a)^{m-1} (e \cos (c+d x))^{2-2 m}}{d e (1-m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2752
Rubi steps
\begin {align*} \int (e \cos (c+d x))^{1-2 m} (a+a \sin (c+d x))^m \, dx &=-\frac {a (e \cos (c+d x))^{2-2 m} (a+a \sin (c+d x))^{-1+m}}{d e (1-m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 43, normalized size = 0.98 \begin {gather*} -\frac {e (e \cos (c+d x))^{-2 m} (-1+\sin (c+d x)) (a (1+\sin (c+d x)))^m}{d (-1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.19, size = 0, normalized size = 0.00 \[\int \left (e \cos \left (d x +c \right )\right )^{1-2 m} \left (a +a \sin \left (d x +c \right )\right )^{m}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 155 vs.
\(2 (41) = 82\).
time = 0.53, size = 155, normalized size = 3.52 \begin {gather*} \frac {{\left (a^{m} e - \frac {2 \, a^{m} e \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {a^{m} e \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}}\right )} e^{\left (-2 \, m \log \left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right ) + m \log \left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )\right )}}{{\left (m e^{\left (2 \, m\right )} + \frac {{\left (m e^{\left (2 \, m\right )} - e^{\left (2 \, m\right )}\right )} \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - e^{\left (2 \, m\right )}\right )} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 81, normalized size = 1.84 \begin {gather*} \frac {\left (\cos \left (d x + c\right ) e\right )^{-2 \, m + 1} {\left (a \sin \left (d x + c\right ) + a\right )}^{m} {\left (\cos \left (d x + c\right ) - \sin \left (d x + c\right ) + 1\right )}}{d m + {\left (d m - d\right )} \cos \left (d x + c\right ) + {\left (d m - d\right )} \sin \left (d x + c\right ) - d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \left (\sin {\left (c + d x \right )} + 1\right )\right )^{m} \left (e \cos {\left (c + d x \right )}\right )^{1 - 2 m}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.58, size = 58, normalized size = 1.32 \begin {gather*} \frac {e\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )\,{\left (a\,\left (\sin \left (c+d\,x\right )+1\right )\right )}^m}{2\,d\,{\left (e\,\cos \left (c+d\,x\right )\right )}^{2\,m}\,\left (m-1\right )\,\left (\sin \left (c+d\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________